package com.ruoyi.student.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生信息对象 stu_student_message
 * 
 * @author liuyuan
 * @date 2023-06-10
 */
public class StuStudentMessage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** sid */
    private Long sid;

    /** 学号
 */
    @Excel(name = "学号")
    private String num;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idcard;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 班级简称 */
    @Excel(name = "班级简称")
    private Long cid;

    /** 所属学院 */
    @Excel(name = "所属学院")
    private Long deptId;

    /** 专业 */
    @Excel(name = "专业")
    private Long majId;

    /** 年级 */
    @Excel(name = "年级")
    private String grade;

    /** 层级 */
    @Excel(name = "层级")
    private String hierarchy;

    /** 学制 */
    @Excel(name = "学制")
    private String lengthSchool;

    /** 家庭地址 */
    @Excel(name = "家庭地址")
    private String address;

    /** 是否在校 */
    @Excel(name = "是否在校")
    private Long inschool;

    /** 是否走读 */
    @Excel(name = "是否走读")
    private Long dayschool;

    /** 寝室号 */
    @Excel(name = "寝室号")
    private String bedroom;

    /** 处理日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处理日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date CLRQ;

    /** 操作类型 */
    @Excel(name = "操作类型")
    private String CZLX;

    /** 数据来源 */
    @Excel(name = "数据来源")
    private String SJLY;

    /** 备用1 */
    @Excel(name = "备用1")
    private String BY1;

    /** 备用2 */
    @Excel(name = "备用2")
    private String BY2;

    public void setSid(Long sid) 
    {
        this.sid = sid;
    }

    public Long getSid() 
    {
        return sid;
    }
    public void setNum(String num) 
    {
        this.num = num;
    }

    public String getNum() 
    {
        return num;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setIdcard(String idcard) 
    {
        this.idcard = idcard;
    }

    public String getIdcard() 
    {
        return idcard;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setCid(Long cid) 
    {
        this.cid = cid;
    }

    public Long getCid() 
    {
        return cid;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setMajId(Long majId) 
    {
        this.majId = majId;
    }

    public Long getMajId() 
    {
        return majId;
    }
    public void setGrade(String grade) 
    {
        this.grade = grade;
    }

    public String getGrade() 
    {
        return grade;
    }
    public void setHierarchy(String hierarchy) 
    {
        this.hierarchy = hierarchy;
    }

    public String getHierarchy() 
    {
        return hierarchy;
    }
    public void setLengthSchool(String lengthSchool) 
    {
        this.lengthSchool = lengthSchool;
    }

    public String getLengthSchool() 
    {
        return lengthSchool;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setInschool(Long inschool) 
    {
        this.inschool = inschool;
    }

    public Long getInschool() 
    {
        return inschool;
    }
    public void setDayschool(Long dayschool) 
    {
        this.dayschool = dayschool;
    }

    public Long getDayschool() 
    {
        return dayschool;
    }
    public void setBedroom(String bedroom) 
    {
        this.bedroom = bedroom;
    }

    public String getBedroom() 
    {
        return bedroom;
    }
    public void setCLRQ(Date CLRQ) 
    {
        this.CLRQ = CLRQ;
    }

    public Date getCLRQ() 
    {
        return CLRQ;
    }
    public void setCZLX(String CZLX) 
    {
        this.CZLX = CZLX;
    }

    public String getCZLX() 
    {
        return CZLX;
    }
    public void setSJLY(String SJLY) 
    {
        this.SJLY = SJLY;
    }

    public String getSJLY() 
    {
        return SJLY;
    }
    public void setBY1(String BY1) 
    {
        this.BY1 = BY1;
    }

    public String getBY1() 
    {
        return BY1;
    }
    public void setBY2(String BY2) 
    {
        this.BY2 = BY2;
    }

    public String getBY2() 
    {
        return BY2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sid", getSid())
            .append("num", getNum())
            .append("name", getName())
            .append("sex", getSex())
            .append("idcard", getIdcard())
            .append("phone", getPhone())
            .append("cid", getCid())
            .append("deptId", getDeptId())
            .append("majId", getMajId())
            .append("grade", getGrade())
            .append("hierarchy", getHierarchy())
            .append("lengthSchool", getLengthSchool())
            .append("address", getAddress())
            .append("inschool", getInschool())
            .append("dayschool", getDayschool())
            .append("bedroom", getBedroom())
            .append("CLRQ", getCLRQ())
            .append("CZLX", getCZLX())
            .append("SJLY", getSJLY())
            .append("BY1", getBY1())
            .append("BY2", getBY2())
            .toString();
    }
}
